package com.emuporium.gymrat.server.data;

import java.util.ArrayList;
import java.util.LinkedHashMap;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;

@Root
public class Exercise {
	@Attribute
	int id;
	@Element
	String name;
	@Element
	boolean custom;
	@Element
	String muscleGroup;
	@Element
	int muscleGroupId;
	@ElementList
	ArrayList<Equipment> equipment;
	@ElementList
	ArrayList<Variation> variations;
	
	public Exercise(){
		variations = new ArrayList<Variation>();
		equipment = new ArrayList<Equipment>();
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMuscleGroup() {
		return muscleGroup;
	}

	public void setMuscleGroup(String muscleGroup) {
		this.muscleGroup = muscleGroup;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getMuscleGroupId() {
		return muscleGroupId;
	}

	public void setMuscleGroupId(int muscleGroupId) {
		this.muscleGroupId = muscleGroupId;
	}

	public boolean isCustom() {
		return custom;
	}

	public void setCustom(boolean custom) {
		this.custom = custom;
	}

	public ArrayList<Equipment> getEquipment() {
		return equipment;
	}

	public void setEquipment(ArrayList<Equipment> equipment) {
		this.equipment = equipment;
	}

	public ArrayList<Variation> getVariations() {
		return variations;
	}

	public void setVariations(ArrayList<Variation> variations) {
		this.variations = variations;
	}

}
